package com.dalin.platform.etl.action;

import com.dalin.common.pager.PageInfo;
import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.platform.etl.condition.EtlColumnInfoCondition;
import com.dalin.platform.etl.service.EtlService;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-11-30 23:01:32                                                     *
 * @modDate: 2010-11-30 23:01:32                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class ColumnInfoQueryAction extends StrutsTwoAction{
	private EtlService etlService; // 
	private Long tableId;
    private String condStr; // 查询条件





    public String execute()throws Exception {
        super.printInfo("", "===== this action begin");
        EtlColumnInfoCondition cond = new EtlColumnInfoCondition();
        cond.setTableId(tableId);
        PageInfo pageInfo = etlService.queryEtlColumnInfos(cond);
        setResContent(pageInfo);
        super.printInfo("", "===== this action end");
        return null;
    }

    

    public EtlService getEtlService() {
		return etlService;
	}



	public void setEtlService(EtlService etlService) {
		this.etlService = etlService;
	}

	public String getCondStr() {
        return condStr;

    }

    public void setCondStr(String condStr) {
        this.condStr = condStr;

    }

	public Long getTableId() {
		return tableId;
	}
	public void setTableId(Long tableId) {
		this.tableId = tableId;
	}
}
